package com.xiguaji.tiktok.task.user;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;

/**
 * @author yzz
 * @Date 2021-01-26 15:37:55
 */
@Data
@Table(value="sys_menu")
public class SysMenu implements Serializable{

    /**
     *主键
     */
    @Id
    @Column(value="id")
    private Integer id;

    /**
     *菜单名
     */
    @Column(value="name")
    private String name;

    /**
     *对应URL
     */
    @Column(value="url")
    private String url;

    /**
     *父级ID
     */
    @Column(value="parent_id")
    private Integer parentId;

    /**
     *模块唯一值
     */
    @Column(value="unique_key")
    private String uniqueKey;

    /**
     *统计参数
     */
    @Column(value="params")
    private String params;

    /**
     *菜单级别
     */
    @Column(value="level")
    private Integer level;

}